package com.jeeboot.modules.job.dao;


import com.jeeboot.modules.job.entity.ScheduleJobEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;
import java.util.Map;

/**
 * Created by IntelliJ IDEA.
 * 作者: 李折训
 * 邮箱：370261528@qq.com
 * QQ群：571785017
 * 时间: 2017/11/29
 * 功能:定时任务
 */


public interface ScheduleJobDao extends JpaRepository<ScheduleJobEntity,Long> ,JpaSpecificationExecutor{
	
	/**
	 * 批量更新状态
	 */
	int updateBatch(Map<String, Object> map);

	void deleteInBatch(Long[] jobIds);
}
